<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./page.css">
</head>
<body>
        <div class="page1"></div>
        <div class="page2"></div>
        <script src="./page.js"></script>
        <script>
        let page1 = new Page('.page1',{
        pageTag:{
            first: '首页',
            prev: '上一页',
            list: null,
            next: '下一页',
            last: '末页',
        },
        pageInfo: {
            pageNum: 2,     
            pageSize: 10,   
            totalData: 1000, 
            totalPage: 100,  
        }
        })
        let page2 = new Page('.page2',{
        pageTag:{
            first: 'first',
            prev: 'prev',
            list: null,
            next: 'next',
            last: 'last',
        },
        pageInfo: {
            pageNum: 2,     
            pageSize: 10,   
            totalData: 1000, 
            totalPage: 100,  
        }
        })
        </script>
        
</body>
</html>